package cn.rtangyy.seckilling.exception;

import cn.rtangyy.seckilling.vo.RespBeanEnum;

public class GlobalException extends RuntimeException{

    private RespBeanEnum respBeanEnum;

    public GlobalException() {
    }

    public GlobalException(RespBeanEnum respBeanEnum) {
        this.respBeanEnum = respBeanEnum;
    }

    public RespBeanEnum getRespBeanEnum() {
        return respBeanEnum;
    }
}
